﻿//-----------------------------------------------------------------------
// <copyright file="SearchPaneVisibilityChangedEventArgs.cs" company="In The Hand Ltd">
//     Copyright © 2013-14 In The Hand Ltd. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace InTheHand.ApplicationModel.Search
{
    /// <summary>
    /// Provides data for a <see cref="SearchPane.VisibilityChanged"/> event that is associated with a <see cref="SearchPane"/> object.
    /// </summary>
    public sealed class SearchPaneVisibilityChangedEventArgs
    {
        internal SearchPaneVisibilityChangedEventArgs(bool visible)
        {
            this.Visible = visible;
        }

        /// <summary>
        /// Indicates whether the search pane is open.
        /// </summary>
        public bool Visible { get; private set; }
    }
}
